<?php
/**
 * Created by PhpStorm.
 * User: Happy
 * Date: 2016/6/17 0017
 * Time: 19:56
 */

$base_dir=dirname( __FILE__);
$file_path= $base_dir.'/lock.txt';
if(file_exists($file_path)){
    unlink($file_path);  //删除运行标识
}